STEP 2: We are going to break down this complicated leap year question into smaller steps. Time for the first step!
The Python math operator % calculates the remainder or "modulo" which results from dividing two numbers.
- Go to and drag Remainder to the bottom of your program.
- Change my_var to calc_1a. This will store the result of the calculation needed to verify half of Condition 1.
- Change 7 to the variable year and change 3 to 4. If the result is 0, then the year is evenly divisible by 4!
To navigate the page using the TAB key, first press ESC to exit the code editor.